package com.woniu.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 
 * @TableName wares_sku
 */
@TableName(value ="wares_sku")
@Data
public class WaresSku implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer sid;

    /**
     * 绑定的商品id
     */
    private Integer spuSid;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 店铺名称
     */
    private String vender;

    /**
     * 状态0下架，1上架，2删除
     */
    private Integer status;
    /**
     * 库存
     */
    private  Integer  stock;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}